Muchat\Api\Core\Plugin S

Total Complexity 21
Dependencies 8
Dependents 4
Total lines 211
Lines of code 85
Logical lines of code 45
Comment lines 81
Methods 13
Properties 3

Methods 13

Method Rating Maintainability Complexity Lines of code
register_api_routes()
S
52 6 24
__construct()
S
60 2 12
add_cors_and_cache_headers()
S
63 2 11
get_settings_instance()
S
70 2 6
load_dependencies()
S
80 1 3
setup_admin()
S
72 1 5
add_admin_menu()
S
82 1 3
register_admin_settings()
S
82 1 3
enqueue_admin_assets()
S
77 1 4
add_plugin_action_links()
S
71 1 5
run()
S
82 1 3
get_loader()
S
82 1 3
get_version()
S
82 1 3